/* 
 * Copyright 2009 HIT-CIR (HIT Center for Information Retrieval). 
 * 
 * author: chuter
 * mail:   lliu@ir.hit.edu.cn
 */
package nlpeap.toolrepository;

import java.util.Vector;

import nlpeap.tms.components.NameEntity;



/**
 * The interface of which doing WordSegment, Pos-Tagging
 * and NameEntity Recognizing together
 * 
 * @author chuter
 *
 */
public interface WordSegandNERecog {
	/**
	 * The main function of the tool that does WordSegment, Pos-Tagging
     * and NameEntity Recognizing together, you need to implement this 
     * function if you want to use your own tool.<br>
	 * The words, PosTag and NeTag vectors are empty before call this 
	 * function, while at the end of this function, the three vectors
	 * will be filled with the words and their tags
	 *  
	 * @param text
	 * 			the original text
	 * @param word_vec
	 * 			the words after segment of the text
	 * @param posTag_vec
	 * 			the POS-Tags of the words
	 * @param ent_vec
	 * 			the NameEntity vector
	 */
	public void wordSegandNERecog(String text,
									 Vector<String> word_vec,
									 Vector<String> posTag_vec,
									 Vector<NameEntity> ent_vec);
	
}
